import {v4 as uuidV4} from 'uuid'

export const getUuid = () => {
    let uuid_token = localStorage.getItem('uuid_token')
    if (!uuid_token) {
        uuid_token = uuidV4()
        localStorage.setItem('uuid_token', uuid_token)
    }
    return uuid_token
}